<div class="center-box">
  <div class="center-content">
    <div class="con_til">
      <span class="til-name">申请处理</span><span
      class="til_num">({{appList.length}})</span></div>
    <div class="fun_model">
      <div class="fun_model_feedback">
        <div class="back_nav">
          <ul>
            <li class="back_item" [ngClass]="{'active':status==0}" (click)="statusFlag(0)"> 全部</li>
            <li class="back_item" [ngClass]="{'active':status==2}" (click)="statusFlag(2)">审核通过</li>
            <li class="back_item" [ngClass]="{'active':status==1}" (click)="statusFlag(1)">待审核</li>
            <li class="back_item" [ngClass]="{'active':status==3}" (click)="statusFlag(3)">已拒绝</li>
          </ul>
          <span class="blue_line" style="left: 0px; width: 68px; opacity: 1;"></span>
        </div>
        <div class="back_model"><!-----投递反馈----->
          <div class="back_inf">
            <div class="back_inf_inf" *ngFor="let application of appList">
              <div class="back_inf_header">
                <p>
                  <a routerLink="/positionDetails/{{application.position_id}}" target="_blank">{{application.position_name}}</a>
                  <a class="resume_name" target="_blank">{{application.company_name}}
                  </a>
                  <a routerLink="/admin/resumeDetails/{{application.resume_id}}" target="_blank"><span>使用简历：</span>{{application.resume_name}}</a>
                </p>
                <div>
                  <span *ngIf="application.handle_time == null">{{application.app_time | date:'yyyy-MM-dd HH:mm:ss'}}</span>
                  <span *ngIf="application.handle_time != null">{{application.handle_time | date:'yyyy-MM-dd HH:mm:ss'}}</span>
                  <p [ngSwitch]="application.status">
                    <br>
                    <span class="inf_resume" *ngSwitchCase=1>待审核</span>
                    <span class="inf_resume" *ngSwitchCase=2>审核通过</span>
                    <span class="inf_resume" *ngSwitchCase=3>已拒绝</span>
                  </p>
                  <button class="float-right text-danger" *ngIf="application.status==1" mat-button (click)="appProcess('refuse',application.id)">拒绝</button>
                  <button class="float-right text-success" *ngIf="application.status==1" mat-button (click)="appProcess('pass',application.id)">同意</button>
                </div>
              </div>
            </div>
          </div>
          <div id="pagebar" class="pagination">
            <ul>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
